<div class="modal fade zanpian-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display:none;">
  <div class="modal-dialog clearfix">
    <div class="modal-content clearfix">
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
      <h5 class="modal-title">我要留言</h5>
    </div>
   <div class="modal-body text-center">
   <form class="form-horizontal" id="modal-form"  action="{:zanpian_user_url('user/center/addgb')}" role="form"  style="padding:20px 0" onsubmit="return false;">
<div class="form-group">
<div class="col-md-12">
<ul class="user-gb-type clearfix" id="gb_types">
    <li val="2"><a href="javascript:void(0);" class="text-overflow">报错</a></li>
    <li val="3"><a href="javascript:void(0);" class="text-overflow">故障</a></li>
    <li val="4"><a href="javascript:void(0);" class="text-overflow">建议</a></li>
    <li val="1" class="active"><a href="javascript:void(0);" class="text-overflow">其他</a></li>
  </ul>
  </div>
        </div>
          <input type="hidden" name="gb_cid" id="gb_type" value="1">
           <div class="form-group">
              <div class="col-md-12">
                <input class="form-control txt" name="gb_title" id="gb_title" type="text" placeholder="留言标题" required>
              </div>
            </div>
           <div class="form-group">
              <div class="col-md-12">
               <textarea cols="40" class="form-control txt" name="gb_content" id="gb_content" rows="5" placeholder="输入留言内容" required></textarea>
              </div>
            </div>
            {notempty name="GLOBALS['config']['user']['sys']['user_code']"}
            <div class="form-group">
              <div class="col-md-4 col-sm-4 col-xs-6">
                <input class="form-control txt" data="validate" name="validate" type="text" placeholder="验证码">
              </div>
              <div class="col-md-3 col-sm-4 col-xs-2"><span id="validate-zanpian"><label><img class="validate-img" src="{:url('home/verify/index',array('t'=>time()))}"></label></span></div>
            </div>
            {/notempty}   
        <button type="submit" class="btn btn-success" id="add-modal-submit">提交</button>
      </form>
    </div>
</div>